package com.email.entity;

public class MessageBody {
	
	private String subject;
	private String url;
	private String content;
	private ConnInfo connInfo;
	
	public MessageBody() {
		super();
	}
	public MessageBody(String subject, String url, String content) {
		super();
		this.subject = subject;
		this.url = url;
		this.content = content;
	}
	
	public MessageBody(String subject, String url, String content, ConnInfo connInfo) {
		super();
		this.subject = subject;
		this.url = url;
		this.content = content;
		this.connInfo = connInfo;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public ConnInfo getConnInfo() {
		return connInfo;
	}
	public void setConnInfo(ConnInfo connInfo) {
		this.connInfo = connInfo;
	}
	@Override
	public String toString() {
		return "MessageBody [subject=" + subject + ", url=" + url + ", content=" + content + ", connInfo=" + connInfo
				+ "]";
	}
}
